import request from '@/utils/request'

// 查询特权免押列表
export function listPrivilegeverification(query) {
  return request({
    url: '/system/privilegeverification/list',
    method: 'get',
    params: query
  })
}

// 查询特权免押详细
export function getPrivilegeverification(id) {
  return request({
    url: '/system/privilegeverification/' + id,
    method: 'get'
  })
}

// 新增特权免押
export function addPrivilegeverification(data) {
  return request({
    url: '/system/privilegeverification',
    method: 'post',
    data: data
  })
}

// 修改特权免押
export function updatePrivilegeverification(data) {
  return request({
    url: '/system/privilegeverification',
    method: 'put',
    data: data
  })
}

// 删除特权免押
export function delPrivilegeverification(id) {
  return request({
    url: '/system/privilegeverification/' + id,
    method: 'delete'
  })
}

// 获取报告信息
export function getPrivilegeverificationReport(id) {
  return request({
    url: '/system/privilegeverification/report/' + id,
    method: 'get'
  })
}
